package cn.liujing.service.serviceImpl;

import cn.liujing.entity.Payment;
import cn.liujing.mapper.PaymentMapper;
import cn.liujing.service.PaymentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PaymentServiceImpl implements PaymentService {
    @Resource
    private PaymentMapper paymentMapper;
    @Override
    public Payment getPaymentById(int id) {
        return paymentMapper.getPaymentById(id);
    }
}
